package com.csc.dao;

public abstract class DAOFactory {
	public static final int ODBC = 1;
	
	public abstract BookDAO createBookDao();
	public static DAOFactory getDAOFactory(int whichFactory) {
		  
	    switch (whichFactory) {
	      case ODBC: 
	          return new ODBCDAOFactory();
	   
	      default: 
	          return null;
	    }
	}
}
